<!DOCTYPE html>
<html lang="zh-CN">

<head>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <title>Document</title>
</head>

<body>
        <!-- 当点击label 里面的文字时 ,也会选中的里面文字对应的选项，提升用户体验 -->
        爱好：
        <label for="eat">吃饭</label>
        <input type="radio" value="吃饭" id="eat" name="爱好">
        <label for="sleep">睡觉</label>
        <input type="radio" value="睡觉" id="sleep" name="爱好">
        	<!-- 2021.08.16复习 -->
        <br>
        性别
         <label for="man">男</label> <input type="radio" name="sex" value="男" id="man"> 
         <label for="women">女</label><input type="radio" name="sex" value="女" id="women">
</body>

</html>